package com.joysuch.wwyt.bp.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "作业统计查询条件")
public class BpSafetyStatisticsSearchBean implements Serializable {

    @ApiModelProperty("作业编号或申请人姓名")
    private String codeOrApplyUserName;
    @ApiModelProperty("作业类型id")
    private Integer typeId;
    @ApiModelProperty("所属风险区域id")
    private Long riskDistrictId;
    @ApiModelProperty("申请单位id")
    private Long applyDepartId;
    @ApiModelProperty("申请日期")
    private java.util.Date applyTime;
    @ApiModelProperty("作业开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private java.util.Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty("作业结束日期")
    private java.util.Date endTime;
    @ApiModelProperty("作业状态")
    private Integer state;
    @ApiModelProperty("作业状态:Y-是;N-否")
    private String needEletricityApplySheet;
}
